const express = require('express');
const fs = require('fs');

const app = express();

app.get('/getData', (req, res) => {
    let data = fs.readFileSync('./data/data.json');
    res.send(data);
})

app.listen(8989);